# -*- coding: utf-8 -*-(for Scipe)
# start for glider
#____________ transmitter alarms at startup:flight condition switches________________________________
IF @H1  # startup variable
	#check that the main flight condition is normal
	IF @S4b
		BREAK Phase_S4
	ENDIF
	IF @S4a
		BREAK Phase_S4
	ENDIF
ENDIF
#_______________ flytime chrono start automatically, if you pull the elevator further than -10
IF @H1 #reset chrono
    	timefly = 0
ENDIF
pull    COMP -10 @M3 
fly  MEM pull
IF @HS # clock pulse 
	IF fly 
		timefly CHR+ 4
	ENDIF
ENDIF
